﻿package com.jxl.dnd.equipment
{
	public class Weapon extends Item
	{
		public var damage:String;
		public var damageDieAmount:Number;
		public var damageDieType:Number;
		public var critical:Number;
		public var criticalDie:Array;
		public var range:Number;
		public var type:Array;
		
		public function Weapon(name:String, cost:Number, weight:Number,
					  damage:String, damamgeDieAmount:Number, damageDieType:Number,
					  critical:Number, criticalDie:Array, range:Number, type:Array):void
		{
			super.init(name, cost, weight);
			
			this.damage 					= damage;
			this.damageDieAmount 			= damageDieAmount;
			this.damageDieType 				= damageDieType;
			this.critical 					= critical;
			this.criticalDie 				= criticalDie;
			this.range 						= range;
			this.type 						= type;
		}
	}
}